package snail.data;

import snail.model.Article;
import java.util.List;

/**
 *
 * @author hellmer
 */
public interface IArticleDAO extends IGenericDAO<Article, Integer> {

    public static final String QUERY_BYCATEGORYID = "article.bycategoryid";
    public static final String QUERY_ALL = "article.all";
    public static final String QUERY_ALLEXPIRED = "article.allexpired";

    List<Article> getByCategoryId(int id);
    List<Article> getAllExpired();
}
